home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-03-16 | 1.8 KB | 73 lines | [TEXT/MPS ] |
- #
- # ListInAList
- # Copyright © 1993-94, Apple Computer Inc.
- #
- # This Makefile builds ListInAList for Power PC using the FastTrack
- # PowerPC development system.
- #
- Src = ":Src:"
- Obj = ":PPCObj:"
- Objects = ∂
- {Obj}EnumerateHFSCatalog.c.o ∂
- {Obj}Main.c.o ∂
- {Obj}SpinCursor.c.o ∂
- {Obj}TwistDownList.c.o ∂
- {Obj}WindowManager.c.o
-
- #
- # Directory dependencies. "Everything in the {Obj} directory depends on something
- # in the {Src} directory." Note: you can throw away the contents of the {Obj}
- # directory if you want to rebuild from scratch.
- #
- {Obj} ƒ {Src}
-
- #
- # Compiler dependencies -- common to all compilations The idea here is that all
- # sources are stored in the {Src} subdirectory, and all objects and code resources
- # output by the linker or Rez are stored in the {Obj} subdirectory. Note that
- # we define MPW to simplify portability: this sample compiles under Think C,
- # MPW, MetroWorks C/68000, MetroWorks C/PPC, and Macintosh on Risk (FastTrack).
- #
- .c.o ƒ .c ∂
- {Src}ListInAList.h ∂
- {Src}TwistDownList.h
- PPCC -sym on -appleext on -d MPW ∂
- -o {TargDir}{Default}.c.o ∂
- {DepDir}{Default}.c
-
- #
- # Build the application.
- #
- "ListInAList MPW.PPC" ƒƒ ∂
- MakeFile ∂
- {Src}ListInAList.r
- Rez ∂
- {Src}ListInAList.r ∂
- -append ∂
- -t APPL ∂
- -i "{CIncludes}" ∂
- -i "{RIncludes}" ∂
- -d __powerc=1 ∂
- -o {targ}
-
- "ListInAList MPW.PPC" ƒƒ ListInAList.xcoff
- MakePEF ∂
- {deps} ∂
- -l InterfaceLib.xcoff=InterfaceLib ∂
- -l StdCLib.xcoff=StdCLib ∂
- -o {targ} ∂
- -ft APPL -fc '????'
-
- "ListInAList.xcoff" ƒ ∂
- MakeFile ∂
- {Objects}
- PPCLink ∂
- {Objects} ∂
- "{PPCLibraries}"StdCLib.xcoff ∂
- "{PPCLibraries}"InterfaceLib.xcoff ∂
- "{PPCLibraries}"PPCCRuntime.o ∂
- -main main ∂
- -o {targ}
-
-
-